<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.3"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SSDP Help: D:/doxy/PublicAPI/ATEC/AtAssert.h 文件参考</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">SSDP Help<span id="projectnumber">&#160;2.04.01</span>
   </div>
   <div id="projectbrief">仅供测试</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.3 -->
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('../../',false,false,'search.php','搜索');
});
/* @license-end */
</script>
<div id="main-nav"></div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="../../dir_52a01df1794e5beec01860bdd05aea48.html">PublicAPI</a></li><li class="navelem"><a class="el" href="../../dir_61153f54a0892efe919342a84eb61844.html">ATEC</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#define-members">宏定义</a>  </div>
  <div class="headertitle"><div class="title">AtAssert.h 文件参考</div></div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;assert.h&gt;</code><br />
</div>
<p><a href="../../dc/d2a/_at_assert_8h_source.html">浏览源代码.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="define-members" name="define-members"></a>
宏定义</h2></td></tr>
<tr class="memitem:afd145ec0bc74ee02f31e3f700d791eba"><td class="memItemLeft" align="right" valign="top"><a id="afd145ec0bc74ee02f31e3f700d791eba" name="afd145ec0bc74ee02f31e3f700d791eba"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>AtAssert</b>(_Expression)&#160;&#160;&#160;(void)( (!!(_Expression)) || (ATEC::AtAssertFunctions::PerformAtAssert(_CRT_WIDE(#_Expression), _CRT_WIDE(__FILE__), __LINE__), 0) )</td></tr>
<tr class="separator:afd145ec0bc74ee02f31e3f700d791eba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a56e8663c6271ad26a129463b39a2a3bd"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/d2a/_at_assert_8h.html#a56e8663c6271ad26a129463b39a2a3bd">AtAssertOnce</a>(_Expression)</td></tr>
<tr class="separator:a56e8663c6271ad26a129463b39a2a3bd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad983cdf24984fbe10ff98dab33dc73d0"><td class="memItemLeft" align="right" valign="top"><a id="ad983cdf24984fbe10ff98dab33dc73d0" name="ad983cdf24984fbe10ff98dab33dc73d0"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>AtDataAssert</b>(_Expression)&#160;&#160;&#160;(void)( (!!(_Expression)) || (ATEC::AtAssertFunctions::PerformAtDataAssert(_CRT_WIDE(#_Expression), _CRT_WIDE(__FILE__), __LINE__), 0) )</td></tr>
<tr class="separator:ad983cdf24984fbe10ff98dab33dc73d0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6228b225f6172205b5fede9cb7fa87c6"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/d2a/_at_assert_8h.html#a6228b225f6172205b5fede9cb7fa87c6">AtDataAssertOnce</a>(_Expression)</td></tr>
<tr class="separator:a6228b225f6172205b5fede9cb7fa87c6"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><dl class="section author"><dt>作者</dt><dd>SZEWC </dd></dl>
<dl class="section date"><dt>日期</dt><dd>2022/04/28 </dd></dl>
</div><h2 class="groupheader">宏定义说明</h2>
<a id="a56e8663c6271ad26a129463b39a2a3bd" name="a56e8663c6271ad26a129463b39a2a3bd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a56e8663c6271ad26a129463b39a2a3bd">&#9670;&nbsp;</a></span>AtAssertOnce</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define AtAssertOnce</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">_Expression</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>值:</b><div class="fragment"><div class="line">            <span class="keywordflow">do</span> {                                    \</div>
<div class="line">                static <span class="keywordtype">int</span> st_bAssertedOnce = 0;    \</div>
<div class="line">                if (!st_bAssertedOnce)   \</div>
<div class="line">                    {                               \</div>
<div class="line">                    (!!(_Expression)) || (ATEC::AtAssertFunctions::PerformAtAssert(_CRT_WIDE(#_Expression), _CRT_WIDE(__FILE__), __LINE__), 0);         \</div>
<div class="line">                    st_bAssertedOnce = 1;           \</div>
<div class="line">                    }                               \</div>
<div class="line">                } <span class="keywordflow">while</span> (0)</div>
</div><!-- fragment -->
</div>
</div>
<a id="a6228b225f6172205b5fede9cb7fa87c6" name="a6228b225f6172205b5fede9cb7fa87c6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6228b225f6172205b5fede9cb7fa87c6">&#9670;&nbsp;</a></span>AtDataAssertOnce</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define AtDataAssertOnce</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">_Expression</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>值:</b><div class="fragment"><div class="line">            <span class="keywordflow">do</span> {                                    \</div>
<div class="line">                static <span class="keywordtype">int</span> st_bAssertedOnce = 0;    \</div>
<div class="line">                if (!st_bAssertedOnce)              \</div>
<div class="line">                    {                               \</div>
<div class="line">                    (!!(_Expression)) || (ATEC::AtAssertFunctions::PerformAtDataAssert(_CRT_WIDE(#_Expression), _CRT_WIDE(__FILE__), __LINE__), 0);     \</div>
<div class="line">                    st_bAssertedOnce = 1;           \</div>
<div class="line">                    }                               \</div>
<div class="line">                } <span class="keywordflow">while</span> (0)</div>
</div><!-- fragment -->
</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.3
</small></address>
</body>
</html>
